package com.fh.service;

import com.utils.bean.*;

import java.util.List;

public interface RegisterService {


    /**
     * @description: 查询密码是否存在
     * @author whf
     * @date 2023/4/25 8:29
     * @param safety
     * @return java.lang.Object
     */
    Safety getSafety(Safety safety);

    /**
     * @description: 密码正确就会对个人信息进行查询
     * @author whf
     * @date 2023/5/10 14:12
     * @param safety
     * @return com.utils.bean.User
     */
    User LoginJudgment(Safety safety);

    /**
     * @description: 通过个人的Id得到他的职位信息
     * @author whf
     * @date 2023/4/26 8:28
     * @param substitute
     * @return java.util.List<com.fh.bean.Resource>
     */
    List<Role> selectUID(Substitute substitute);



    /**
     * @description: 注册接口对个人信息表表进行添加
     * @author whf
     * @date 2023/5/10 14:38
     * @param user
     */
    User setUser(User user);

    /**
     * @description: 对账号密码进行保存
     * @author whf
     * @date 2023/5/10 14:41
     * @param safety
     * @return com.utils.bean.Safety
     */
    Safety setSafety(Safety safety);

    /**
     * @description: 对用户跟账号的表进行关联
     * @author whf
     * @date 2023/5/10 14:50
     */
    void setSafetyoruser(Safetyoruser safetyoruser);


}
